package com.mall.db.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 商品类目表
 * </p>
 *
 * @author HQJ
 * @since 2021-09-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_category")
public class Category implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 类目ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 类目pid
     */
    private Integer pid;

    /**
     * 类目名
     */
    private String name;

    /**
     * 类目图标
     */
    private String icon;

    /**
     * 类目图片
     */
    private String img;

    /**
     * 关键字
     */
    private String keyword;

    /**
     * 简介
     */
    private String abs;

    /**
     * 级别
     */
    private Integer rank;


}
